<?php

//if( $_GET["check_status"] ||1 ){
if( $_GET["hot_admin"] ){

define('WP_USE_THEMES', true);
$blog='NULL';
$blogdata='NULL';
$optiondomain = 'system';
$_REQUEST['b']='system';

require('../blogs/private.php');
require(CONFIGPATH . 'wp-config.php');
require_once( ABSPATH . WPINC . '/registration-functions.php');

get_currentuserinfo();

$my_blogs = get_userblogs();
$logged_in=0;

if($my_blogs){
	foreach($my_blogs as $each_blog){
		if($each_blog->id==2) $logged_in=1;
	}
}

if($logged_in){
	setcookie("admin_mode",1, time()+600,"/");
}

}
//	echo "You have logged in.<br>";
?>
